Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dirlisting] Add dark mode support #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ebraminio
Copy link

This adds dark mode support to lighttpd's dirlisting generated pages.

Nowadays files transferred to browser via text/* MIME are also getting automatic dark mode by the browsers so this makes lighttpd's dirlisting compatible with those features of the browsers.

Screen.Recording.2024-06-08.at.9.03.36.PM.mov

lighttpd 1.4 version of the patch: lighttpd/lighttpd1.4#134

(build instruction self note for future)

meson setup --buildtype debugoptimized build # currently with -Dlua=false due to a compile issue
cp contrib/lighttpd.conf .. # then edit it
ninja -C build && (cd .. && lighttpd2/build/src/main/lighttpd2-worker -m lighttpd2/build/src/modules/)

This adds dark mode support to lighttpd's dirlisting generated pages.

Nowadays files transferred to browser via text/* MIME are also getting
automatic dark mode by the browsers so this makes lighttpd's dirlisting
compatible with those features of the browsers.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant